// 1-3-4-2.cpp

#include <iostream>
#include <cmath>    // needed by sqrt()
using namespace std;

int main()
{
    double a, b, c;
    double sqrt_delta;

    cin >> a >> b >> c;
    sqrt_delta = sqrt(b * b - 4 * a * c);
    cout << "x1 = " << (-b + sqrt_delta) / 2 * a << endl;
    cout << "x2 = " << (-b - sqrt_delta) / 2 * a << endl;
    return 0;
}
